package com.dao;

import com.entity.Servicetype;
import com.entity.ServicetypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ServicetypeDao {
    long countByExample(ServicetypeExample example);

    int deleteByExample(ServicetypeExample example);

    int deleteByPrimaryKey(Integer servicetypeid);

    int insert(Servicetype record);

    int insertSelective(Servicetype record);

    List<Servicetype> selectByExample(ServicetypeExample example);

    Servicetype selectByPrimaryKey(Integer servicetypeid);

    int updateByExampleSelective(@Param("record") Servicetype record, @Param("example") ServicetypeExample example);

    int updateByExample(@Param("record") Servicetype record, @Param("example") ServicetypeExample example);

    int updateByPrimaryKeySelective(Servicetype record);

    int updateByPrimaryKey(Servicetype record);

    List<Servicetype> findAll();
}